package com.tingbu.dubbo.service2.service.impl;

import com.tingbu.dubbo.service2.service.api.DubboService2;
import org.apache.dubbo.config.annotation.Service;

/**
 * @Author xiams
 * @Date: 2021/5/8 15:59
 */


@Service(interfaceClass = DubboService2.class)
public class DubboService2Impl implements DubboService2 {

    public String testDubboService2() {
        System.out.println("service2子服务开始被调用...");
        return "nacos dubbo service2 initial... |";
    }
}
